﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title - My ASP.NET MVC Application</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")

</head>
<body>
    <header>
        <div class="content-wrapper">
            <div class="float-left">
                <p class="site-title">@Html.ActionLink("your logo here", "Index", "Home")</p>
            </div>
            <div class="float-right">
                <section id="login">
                    @Html.Partial("_LoginPartial")
                </section>
                <nav>
                    <ul id="menu">
                        <li>@Html.ActionLink("Home", "Index", "Home", new { Area = "" }, new { })</li>
                        <li>@Html.ActionLink("Tour", "Index", "Tour", new { Area = "Admin" }, new { })</li>
                        <li>@Html.ActionLink("Package", "Index", "Package", new { Area = "Admin" }, new { })</li>
                        <li>@Html.ActionLink("Itinary", "Index", "Itinary", new { Area = "Admin" }, new { })</li>
                        <li>@Html.ActionLink("Tag", "Index", "Tag", new { Area = "Admin" }, new { })</li>
                        <li>@Html.ActionLink("Photo", "Index", "Photo", new { Area = "Admin" }, new { })</li>
                        <li>@Html.ActionLink("About", "About", "Home", new { Area = "" }, new { })</li>
                        <li>@Html.ActionLink("Contact", "Contact", "Home", new { Area = "" }, new { })</li>
                    </ul>
                </nav>
            </div>
        </div>
    </header>
    <div id="body">
        @RenderSection("featured", required: false)
        <section class="content-wrapper main-content clear-fix">
            @RenderBody()
        </section>
    </div>
    <footer>
        <div class="content-wrapper">
            <div class="float-left">
                <p>&copy; @DateTime.Now.Year - My ASP.NET MVC Application</p>
            </div>
        </div>
    </footer>

    @Scripts.Render("~/bundles/jquery")
    <script src="@Url.Content("~/Scripts/tinymce/jquery.tinymce.js")" type="text/javascript"></script>
    <script type="text/javascript">

        (function () {

            $(function () {

                $(".tinymce-editor").tinymce({

                    // Location of TinyMCE script
                    script_url: '@Url.Content("~/Scripts/tinymce/tiny_mce.js")',
                    theme: "advanced",

                    height: "500",
                    width: "790",
                    verify_html: false,
                    plugins: "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,advlist,autosave",
                    // theme options
                    theme_advanced_buttons1: "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
                    theme_advanced_buttons2: "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
                    //theme_advanced_buttons3: "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
                    //theme_advanced_buttons4: "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft,codehighlighting,netadvimage",
                    theme_advanced_toolbar_location: "top",
                    theme_advanced_toolbar_align: "left",
                    theme_advanced_statusbar_location: "bottom",
                    theme_advanced_resizing: false,

                    // Example content CSS (should be your site CSS)
                    content_css: "@Url.Content("~/Scripts/tinymce/themes/simple/skins/o2k7/content.css")",
                    convert_urls: false,

                    // Drop lists for link/image/media/template dialogs
                    template_external_list_url: "lists/template_list.js",
                    external_link_list_url: "lists/link_list.js",
                    external_image_list_url: "lists/image_list.js",
                    media_external_list_url: "lists/media_list.js"

                });

            });

        })();

    </script>
    @RenderSection("scripts", required: false)
</body>
</html>
